package com.yc.nfc;

import java.math.BigInteger;

/**
 * Created by Administrator on 2016-07-11.
 */
public class CardInfo {
    private byte[]  CardID = new byte[4];			//物理卡号

    private String Name;    //人员姓名
    private String fig;    //标志

    public String getCardID(){
        String hex = Convert.ByteArrToHex(CardID,null);
        BigInteger id = new BigInteger(hex,16);
        return String.valueOf(id.longValue());
    }

    public void setCardID(byte[] cardID) {
        CardID = cardID;
    }




    public void setName(String Name) {
        this.Name =Name ;
    }

    public String getName() {
        return Name;
    }

    public void setFig(String fig) {
        this.fig =fig ;
    }

    public String getFig() {
        return fig;
    }
}
